home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / winterp-1.13 / src-server / wc_Separator.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-04  |  2.9 KB  |  69 lines

  1. /* -*-C-*-
  2. ********************************************************************************
  3. *
  4. * File:         wc_Separator.c
  5. * RCS:          $Header: wc_Separator.c,v 1.3 91/03/14 03:15:16 mayer Exp $
  6. * Description:  XM_SEPARATOR_GADGET_CLASS/XM_SEPARATOR_WIDGET_CLASS
  7. * Author:       Niels Mayer, HPLabs
  8. * Created:      Sat Oct 28 04:47:34 1989
  9. * Modified:     Thu Oct  3 22:25:24 1991 (Niels Mayer) mayer@hplnpm
  10. * Language:     C
  11. * Package:      N/A
  12. * Status:       X11r5 contrib tape release
  13. *
  14. * WINTERP Copyright 1989, 1990, 1991 Hewlett-Packard Company (by Niels Mayer).
  15. * XLISP version 2.1, Copyright (c) 1989, by David Betz.
  16. *
  17. * Permission to use, copy, modify, distribute, and sell this software and its
  18. * documentation for any purpose is hereby granted without fee, provided that
  19. * the above copyright notice appear in all copies and that both that
  20. * copyright notice and this permission notice appear in supporting
  21. * documentation, and that the name of Hewlett-Packard and David Betz not be
  22. * used in advertising or publicity pertaining to distribution of the software
  23. * without specific, written prior permission.  Hewlett-Packard and David Betz
  24. * make no representations about the suitability of this software for any
  25. * purpose. It is provided "as is" without express or implied warranty.
  26. *
  27. * HEWLETT-PACKARD AND DAVID BETZ DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  28. * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
  29. * IN NO EVENT SHALL HEWLETT-PACKARD NOR DAVID BETZ BE LIABLE FOR ANY SPECIAL,
  30. * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  31. * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  32. * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  33. * PERFORMANCE OF THIS SOFTWARE.
  34. *
  35. * See ./winterp/COPYRIGHT for information on contacting the authors.
  36. * Please send modifications, improvements and bugfixes to mayer@hplabs.hp.com
  37. * Post XLISP-specific questions/information to the newsgroup comp.lang.lisp.x
  38. *
  39. ********************************************************************************
  40. */
  41. static char rcs_identity[] = "@(#)$Header: wc_Separator.c,v 1.3 91/03/14 03:15:16 mayer Exp $";
  42.  
  43. #include <stdio.h>
  44. #include <Xm/Xm.h>
  45. #include <Xm/SeparatoG.h>
  46. #include <Xm/Separator.h>
  47. #include "winterp.h"
  48. #include "user_prefs.h"
  49. #include "xlisp/xlisp.h"
  50.  
  51. /******************************************************************************
  52.  *
  53.  ******************************************************************************/
  54. Wc_Separator_Init()
  55. {
  56.   LVAL o_XM_SEPARATOR_GADGET_CLASS;
  57.   LVAL o_XM_SEPARATOR_WIDGET_CLASS;
  58.   extern LVAL Wcls_Create_Subclass_Of_WIDGET_CLASS(); /* w_classes.c */
  59.  
  60.   o_XM_SEPARATOR_GADGET_CLASS =
  61.     Wcls_Create_Subclass_Of_WIDGET_CLASS("XM_SEPARATOR_GADGET_CLASS",
  62.                      xmSeparatorGadgetClass);
  63.  
  64.   o_XM_SEPARATOR_WIDGET_CLASS =
  65.     Wcls_Create_Subclass_Of_WIDGET_CLASS("XM_SEPARATOR_WIDGET_CLASS",
  66.                      xmSeparatorWidgetClass);
  67. }
  68.